<?php
// 首页显示信息以及基本配置
namespace Partner\Controller;
use Think\Controller;
class ShopController extends CommonController{
    function myshop(){
        $uid=session('user_id');
       // $rs=M('partner')->where('u_id='.$uid)->find();
        $store	= D('store');
        $storeinfo = $store->where('uid='.$uid)->find();
        if($storeinfo){
             $this->assign('current',$storeinfo);
        }
        $this->display();
    }
}